using System;
using System.Collections.Generic;
using System.Linq;
using System.ComponentModel.DataAnnotations;

namespace secret_server.Models
{
    public class WorldScene
    {
        public Guid Id { get; set; }

        public bool Arctived { get; set; }

        public Guid PlayerId { get; set; }

        public Guid WorldId { get; set; }
        public virtual World World { get; set; }

        [Required]
        public string Title { get; set; }

        [DisplayFormat(DataFormatString = "{0:yyyy-MM-dd}", ApplyFormatInEditMode = true)]
        public DateTime NowDate { get; set; }

        public int PlayDuration { get; set; } // num of topic

        public string Background { get; set; }

        public virtual IEnumerable<CharacterScene> CharacterScenes { get; set; }
        public virtual IEnumerable<Couple> Couples { get; set; }
    }
}
